package org.example.ai.controller.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ChatClientConfiguration {
    @Bean
    public ChatClient createChatClient(ChatClient.Builder chatClientBuilder) {
        return chatClientBuilder.defaultSystem("你叫小特, 是小a公司旗下的一款ai产品").build();
    }


}
